package com.suyang.syt.service.interfaces;

import java.util.List;

import com.suyang.syt.model.Banner;
import com.suyang.syt.model.dto.AjaxObj;
import com.suyang.syt.model.dto.BannerDTO;
import com.suyang.syt.model.dto.PagerEasyUI;

public interface BannerService {

	PagerEasyUI<BannerDTO> listByEasyUI(int page, int rows, String sort, String order, long objId, int flag, int opterType, String createDate1, String createDate2) throws Exception;

	AjaxObj add(BannerDTO bannerDTO) throws Exception;

	AjaxObj deletes(String ids) throws Exception;

	AjaxObj update(BannerDTO bannerDTO) throws Exception;

	AjaxObj updatePic(String bid, String orderIndex, String picPath) throws Exception;

	AjaxObj findPic(long cid) throws Exception;

	Banner load(long bid) throws Exception;

	List<Banner> list(String ids) throws Exception;

}
